package org.thinker.demo2;

import java.util.Date;

public class BbsVO {

	private int seqno;
	private String title;
	private String content;
	private String writer;
	private Date regdate;
	
	public int getSeqno() {
		return seqno;
	}
	public void setSeqno(int seqno) {
		this.seqno = seqno;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getWriter() {
		return writer;
	}
	public void setWriter(String writer) {
		this.writer = writer;
	}
	public Date getRegdate() {
		return regdate;
	}
	public void setRegdate(Date regdate) {
		this.regdate = regdate;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + seqno;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		BbsVO other = (BbsVO) obj;
		if (seqno != other.seqno)
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "BbsVO [seqno=" + seqno + ", title=" + title + ", content="
				+ content + ", writer=" + writer + ", regdate=" + regdate + "]";
	}
	
	
}
